import "./ddwl.css";

import { getData } from "../../../../api/getData";
import render from "./item.art";

const ddwlUrl = "https://www.imooc.com/api/mall-PC/index/local_fun";
const ddwlPanel = document.querySelector("#ddwlPanel");

getData(ddwlUrl).then((res) => {
  const html = render(res);
  ddwlPanel.innerHTML = html;
});
